package dao;

import java.sql.SQLException;
import java.util.List;

import model.Restore;
import model.User;

public interface RestoreDao {
	//根据主体ID查询列表
	public List<Restore> getRestoreListByAnnID(long id) throws SQLException;
	//根据主体ID查询回复用户信息
	public List<User> getUserListByAnnID(long id);
	//评论功能
	public int insertRestore(Restore restore) throws SQLException;	
}
